package org.qpcr.community.service;

import lombok.extern.slf4j.Slf4j;
import org.hswebframework.ezorm.rdb.mapping.defaults.SaveResult;
import org.hswebframework.web.crud.service.GenericReactiveCrudService;
import org.qpcr.community.entity.LogMessageEntity;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

/**
 * 用户操作日志记录
 */
@Service
@Slf4j
public class LogMessageServices extends GenericReactiveCrudService<LogMessageEntity, String> {



    public Mono<SaveResult> saveLog(LogMessageEntity entity){

        return this.save(entity);
    };

}
